package view.exten;

import view.SuperView;

import javax.servlet.ServletException;
import java.io.IOException;

public class ZhuanfaView extends SuperView {
    private String str;

    public ZhuanfaView(String str){
        this.str=str;
        handle();
    }

    @Override
    protected void handle() {
        try {
            super.req.getRequestDispatcher(str).forward(super.req,super.resp);
        } catch (ServletException e) {
            e.printStackTrace();
        } catch (IOException e) {
            e.printStackTrace();
        }
    }
}
